package org.com.gamemall.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.com.gamemall.Entity.UserVoucher;
import org.com.gamemall.Entity.Voucher;
import org.springframework.http.ResponseEntity;

/**
 * <p>
 * 代金券表 服务类
 * </p>
 *
 * @author 277
 * @since 2025-07-23
 */

public interface IVoucherService extends IService<Voucher> {

    String seckill(Long id) throws InterruptedException;

    ResponseEntity<Voucher> addSeckill(Voucher voucher);

    void handlerOrderInfo(UserVoucher orderVoucher);
}
